package cn.wolfcode.wolf2world.web.listener;

import cn.wolfcode.wolf2world.web.event.SandMsgEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * @author 杨兴健
 * @Date 2020/8/18 10:07
 */
//@Component
public class SandMsgListener implements ApplicationListener<SandMsgEvent> {
    @Override
    public void onApplicationEvent(SandMsgEvent event) {
        event.sand();
    }
}
